*{
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}

/* 版心，公共类 */
.w {
    width: 1202px;
    margin: auto;
}
body {
    background-color: #f3f5f7;
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* 头部区域开始啦 */
/* 顶端大盒子 */
.header {
    height: 42px;
    margin: 30px auto;
}
/* logo部分 */
.logo {
    float: left;
    width: 200px;
    height: 42px;
    margin-right: 60px;

}
/* 导航栏部分 */
.nav {
    float: left;
    height: 42px;
    margin-right: 70px;
}
.nav li {
    float: left;
    margin: 0 15px;
    
}
.nav li a{
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 10px;
    font-size: 18px;
    color: black;
}          
.nav li a:hover {
    color: #00a4ff;
    border-bottom: 2px solid #00a4ff;
}

/* 搜索部分 */
.search {
    float: left;
    width: 415px;
    height: 42px;
}

.search .txt {
    float: left;
    width: 360px;
    height: 38px;
    text-indent: 1em;
    border-color: #00a4ff;
    color: #bfbfbf;
    font-size: 14px;
}
.search .btn {
    float: left;
    width: 50px;
    height: 42px;
    /* button有个默认边框需要手动去掉 */
    border: none;
    background-color: #00a4ff;
    background-image: url(images/fa-search.png);
    background-repeat: no-repeat;
    background-position: center;
}
/* 用户部分 */
.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    height: 42px;
    line-height: 42px;
    font-size: 14px;
    color: #666;
}
.user img {
    width: 30px;
    margin: 5px;
    line-height: 42px;
    vertical-align: middle;
    border-radius: 15px;
    overflow: hidden;
}
/* 头部区域结束啦 */

/* banner */
.banner {
    height: 421px;
    background-color: #033db2;
}

.bannerin {
    height: 421px;
    background: url(images/banner2.png) no-repeat top center;
}
 .subnav {
    float: left;
    width: 190px;
    height: 421px;
    background-color: rgba(0, 0, 0, 0.3);
}
.subnav ul {
    margin-top: 10px;
}
.subnav ul li {
    height: 45px;
    line-height: 45px;
    margin: 0 20px;
}
 .subnav li a {
     display: block;
    background-image: url(images/右箭头.png);
    background-position: right center;
    background-repeat: no-repeat;
    font-size: 14px;
    color: white;
}
 .subnav li a:hover {
    color: #00b4ff;
    background-image: url(images/右箭头蓝.png);
}

/* 右侧课程表 */
.course {
    float: right;
    width: 230px;
    /* 浮动的盒子不会有外边距塌陷的问题 */
    margin-top: 50px;
    text-align: center;
    background-color: white;
}
 .course h3 {
    height: 48px;
    line-height: 48px;
    font-weight: 400;
    font-size: 18px;
    color: white;
    background-color: #9bceea;
}
.course ul {
    padding: 0 20px;
    
}
.course li {
    padding: 14px 10px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
}
.course li a {
    color: #5a5a5a;
    font-size: 16px;
}
.course li span {
    display: block;
    font-size: 12px;
    color: #bdbdbd;
}
 .course ul button {
     width: 100%;
    height: 40px;
    margin-top: 5px; 
    margin-bottom: 12px;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    background-color: white;
    font-weight: 700; 
}

/* 3、菜单精品推荐模块开始 */
.goods {
    margin-top: 10px;
    height: 60px;
    line-height: 60px;
    background-color: white;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.goods h3 {
    float: left;
    margin: 0 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods ul {
    float: left;
} 
.goods ul li {
    float: left;
}
.goods ul li a {
    padding: 0 34px;
    font-size: 16px;
    border-left: 1px solid #bfbfbf;
    color: #050505;
}
.mod {
    float: right;
    margin-right: 30px;
}
.mod {
    color: #00a4ff;
    font-size: 14px;
}
/* 3、菜单精品推荐模块结束 */

/* 4、精品推荐模块开始 */
.box {
    margin-top: 35px;
}
.hd {
    height: 45px;
}
.hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    color: #a5a5a5;
    font-size: 12px;
}
.bd ul {
    width: 1225px;
}
.bd ul li {
    position: relative;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 229px;
    height: 270px;
    background-color: white;
    position: relative;
}
.bd ul li>img {
    width: 100%;
}
.bd ul li a{
    display: block;
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    font-weight: 400;
    color: #050505;
}
.bd ul li .info {
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 25px;
    font-size: 12px;
    color: #999999;
    position: absolute;
    bottom: 0;
}
.bd ul li .info span {
    color: #ff7c2d;
}
.bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
/* 4、精品推荐模块结束 */

/* 5、编程入门模块开始 */
.box2 {
    margin-top: 37px;
    height: 437px;
}
.hd .grade {
    float: left;
    position: relative;
    left: 45%;
    transform: translateX(-50%);
}
.hd .grade a {
    float: left;
    margin-right: 71px;
    text-align: center;
    font-size: 16px;
    color: #050505;
}
.hd .grade a:hover {
    color: #00a4ff;
}
.bd .right {
    float: right;
    width: 961px;
    height: 392px;
}
.bd .right img {
    width: 100%;
}
.right ul {
    margin-top: 17px;
}
/* 5、编程入门模块结束 */


.box3 {
    margin-top: 35px;
}


/* footer开始 */
.footer {
    margin-top: 40px;
    height: 417px;
    background-color: white;
}
.footer .w {
    padding-top: 35px;
}
.download {
    float: left;
    width: 472px;
}
.download p {
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 12px;
    color: #666;
}
.download a {
    display: block;
    width: 120px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    text-align: center;
}
.links {
    float: right;
}
.links dl {
    float: left;
    width: 100px;
    margin-left: 100px;
}
.links dl dt {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 16px;
}
.links dl dd a {
    color: #333;
    font-size: 12px;
}
/* footer结束 */

/* 侧边导航栏开始 */
.boxleft {
    position: fixed;
    top: 600px;
    left: 50%;
    margin-left: 630px;
    width: 183px;
    height: 425px;
    background-color: white;
}
.boxleft ul {
    padding: 27px;
}
.boxleft ul li {
    margin-bottom: 14px;
}
.boxleft ul li a {
    font-size: 14px;
    color: #333333;
}
.boxleft ul li a:hover {
    color: #00a4ff;
}
/* 侧边导航栏结束 */

/* 小图标 */

